//
//  MHMyClientListCell.m
//  M-Saler
//
//  Created by Teresa on 2020/5/21.
//  Copyright © 2020 Teresa. All rights reserved.
//

#import "MHMyClientListCell.h"

@interface MHMyClientListCell()

@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *telLabel;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;//加入时间
@property (weak, nonatomic) IBOutlet UILabel *addrLabel;

@end

@implementation MHMyClientListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

+(CGFloat)height{
    return 100;
}

-(void)setModel:(MHMyClientModel *)model{
    _model = model;
    self.nameLabel.text = model.name;
    self.telLabel.text = model.phone;
    self.timeLabel.text = model.create_time;
    self.addrLabel.text = model.area_json;
}

@end
